<%@ page import="org.hr.xtime.absence.DayType" %>



<div class="fieldcontain ${hasErrors(bean: dayTypeInstance, field: 'label', 'error')} ">
	<label for="label">
		<g:message code="dayType.label.label" default="Label" />
		
	</label>
	<g:textField name="label" value="${dayTypeInstance?.label}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: dayTypeInstance, field: 'approvalRequired', 'error')} ">
	<label for="approvalRequired">
		<g:message code="dayType.approvalRequired.label" default="Approval Required" />
		
	</label>
	<g:checkBox name="approvalRequired" value="${dayTypeInstance?.approvalRequired}" />
</div>

<div class="fieldcontain ${hasErrors(bean: dayTypeInstance, field: 'isAbsence', 'error')} ">
	<label for="isAbsence">
		<g:message code="dayType.isAbsence.label" default="Is Absence" />
		
	</label>
	<g:checkBox name="isAbsence" value="${dayTypeInstance?.isAbsence}" />
</div>

<div class="fieldcontain ${hasErrors(bean: dayTypeInstance, field: 'key', 'error')} ">
	<label for="key">
		<g:message code="dayType.key.label" default="Key" />
		
	</label>
	<g:textField name="key" value="${dayTypeInstance?.key}"/>
</div>

